package com.hospital.spd.pojo;

import java.util.List;

/**
 *
 * 报表退货部分明细,包含科室名称,品种及数量
 * @author heghai
 */
public class ReportDetailDO {
    private String mark;
    private String depName;
    private List<Goods> goods;

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("ReportDetailDO{");
        sb.append("mark='").append(mark).append('\'');
        sb.append(", depName='").append(depName).append('\'');
        sb.append(", goods=").append(goods);
        sb.append('}');
        return sb.toString();
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public List<Goods> getGoods() {
        return goods;
    }

    public void setGoods(List<Goods> goods) {
        this.goods = goods;
    }

    public static class Goods{
        private String goodsName;
        private Integer count;

        @Override
        public String toString() {
            final StringBuffer sb = new StringBuffer("Goods{");
            sb.append("goodsName='").append(goodsName).append('\'');
            sb.append(", count=").append(count);
            sb.append('}');
            return sb.toString();
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public Integer getCount() {
            return count;
        }

        public void setCount(Integer count) {
            this.count = count;
        }
    }

}
